const checkFields = [
  {name: "autoUpdate", label: "开启自动更新"},
  {name: "isolate", label: "开启WTP隔离功能"},
  {name: "wtpRepEnable", label: "开启上报WTP流量功能"},
  {name: "fwDefaultEnable", label: "使用firewall default", init: true},
  {name: "fwZoneEnable", label: "使用firewall zone", init: true},
  {name: "fwTrafficEnable", label: "使用firewall traffic rule", init: true},
  {name: "ssidRepEnable", label: "开启上报SSID流量功能"},
  {name: "vlanEnable", label: "使用Vlan", init: true},
];

const inputFields = [
  {name: "name", placeholder: "profile名称"},
  {name: "rateLimit", placeholder: "0~1000间整数"},
  {name: "flowRepPeriod", placeholder: "2~100间整数"},
];

const ssidCheckFields = [
  {name: "ishide", label: "隐藏ssid"},
];

const ssidInputFields = [
  {name: "name", placeholder: "ssid名称"},
  {name: "pwd", placeholder: "ssid密码"},
];

const ssidSelectFields = [
  {name: "auth", label: "认证方式", choices: ['open', 'WAP', 'WAP2', 'WAP/WAP2 mixed']},
  {name: "cipher", label: "加密算法", choices: ['auto', 'CCMP', 'TKIP', 'TKIP & CCMP']},
  {name: "category", label: "ssid类别", choices: [{name:"2.4g", value:0}, {name:"5g", value:1}]},
];

export default {
  checkFields,
  inputFields,
  ssidCheckFields,
  ssidInputFields,
  ssidSelectFields,
};
